import {
	defineStore,
} from 'pinia';

import {
	ref,
} from 'vue';
export const useUserStore = defineStore('user', () => {
	const user = ref(0);
	

    const set =()=>{
        user.value +=1
    }
    const get =()=>{
        user.value -=1
    }
	return {
		user,
        set,
        get
	}
}, {
	persist: true,
	// persist: {
	// 	paths: ['user_id', 'serTypesImage'],
	// },
});